import Vue from 'vue'
import App from './App'

import pageHead from './components/page-head.vue'
import pageFoot from './components/page-foot.vue'
import uLink from '@/components/uLink.vue'
import store from './store'
import '@/components/colorui/main.css'
import '@/components/colorui/icon.css'
import CuCustom from '@/components/colorui/components/cu-custom.vue'
import CuModal from '@/components/colorui/modal.vue'

Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.$backgroundAudioData = {
	playing: false,
	playTime: 0,
	formatedPlayTime: '00:00:00'
}

Vue.component('page-head', pageHead)
Vue.component('page-foot', pageFoot)
Vue.component('uLink', uLink),
Vue.component('CuCustom', CuCustom)
Vue.component('CuModal', CuModal)

import TaskList from "@/pages/task-list/index"
Vue.component('TaskList', TaskList)




App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount()
